#ifndef INPUT_H
#define INPUT_H


#include "at32f403a_407.h"



extern volatile  uint32_t enc_count;
extern volatile  uint8_t input_status[3];
extern volatile  uint8_t input_changed[3];


extern volatile uint8_t enc_up;
extern volatile uint8_t enc_dn;
extern volatile uint8_t enc_key;

void gpio_irq_haldle(uint8_t pin);
void input_timer_callback(void);









#endif

